package com.yjd.comm.spread.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：人人推广员表模型<br>
 * <b>time</b>：2015-10-09 20:10:44 <br>
 * <b>author</b>：  SongJian
 */
@SuppressWarnings("serial")
public class SpreaderModel extends Model{
	 /*
	  *ID 
	  */
	private Long id;
	 /*
	  * 身份,或者扩展为VIP等级..至少可以保存到99
	  *0普通推广员,1历史邀请人 
	  */
	private int identity;
	 /*
	  *推广总收益 
	  */
	private Double reward_sum;
	 /*
	  *用户ID 
	  */
	private Long user_id;
	/*
	 * 推广人名称 
	 */
	private String spread_name;
	
	 /*
	  *推广投资奖励费率,普通0.2,邀请人1 ,计算时要除以100
	  */
	private Double spread_rate;
	 /*
	  *推广分享总数 
	  */
	private java.lang.Integer spread_count;
	 /*
	  *推广点击总数 
	  */
	private java.lang.Integer spread_click_count;
	 /*
	  *推广注册总数 
	  */
	private java.lang.Integer spread_regist_count;
	 /*
	  *0正常授权,-1停止授权 
	  */
	private byte status;
	 /*
	  *添加时间 
	  */
	private Long addtime;
	 /*
	  *更新时间 
	  */
	private Long uptime;
	
	/*
	 * 推广人 用户名 
	 */
	private String username;
	/*
	 * 推广人身份证名称
	 */
	private String idname;
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public int getIdentity() {
		return identity;
	}
	public void setIdentity(int identity) {
		this.identity = identity;
	}
	public Double getReward_sum() {
		return reward_sum;
	}
	public void setReward_sum(Double reward_sum) {
		this.reward_sum = reward_sum;
	}
	public Long getUser_id() {
		return user_id;
	}
	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}
	public Double getSpread_rate() {
		return spread_rate;
	}
	public void setSpread_rate(Double spread_rate) {
		this.spread_rate = spread_rate;
	}
	public java.lang.Integer getSpread_count() {
		return spread_count;
	}
	public void setSpread_count(java.lang.Integer spread_count) {
		this.spread_count = spread_count;
	}
	public java.lang.Integer getSpread_click_count() {
		return spread_click_count;
	}
	public void setSpread_click_count(java.lang.Integer spread_click_count) {
		this.spread_click_count = spread_click_count;
	}
	public java.lang.Integer getSpread_regist_count() {
		return spread_regist_count;
	}
	public void setSpread_regist_count(java.lang.Integer spread_regist_count) {
		this.spread_regist_count = spread_regist_count;
	}
	public byte getStatus() {
		return status;
	}
	public void setStatus(byte status) {
		this.status = status;
	}
	public Long getAddtime() {
		return addtime;
	}
	public void setAddtime(Long addtime) {
		this.addtime = addtime;
	}
	public Long getUptime() {
		return uptime;
	}
	public void setUptime(Long uptime) {
		this.uptime = uptime;
	}
	public String getUsername() {
		return username;
	}
	/*
	 * 加@Deprecated是为了提示你,不要用这个方法..username不是该人的属性
	 */
	@Deprecated
	public void setUsername(String username) {
		this.username = username;
	}
	public String getIdname() {
		return idname;
	}
	public void setIdname(String idname) {
		this.idname = idname;
	}
	public String getSpread_name() {
		return spread_name;
	}
	public void setSpread_name(String spread_name) {
		this.spread_name = spread_name;
	}

	 

}
